package com.chixing.day03;

public class Phone {

    private int phoneId;
    private String phoneName;
    private String phoneSize;
    private String phoneColor;
    private float phonePrice;

    //无参构造函数
    public Phone() {

    }

    //有参构造函数
    public Phone(int phoneId, String phoneName, String phoneSize, String phoneColor, float phonePrice) {
        this.phoneId = phoneId;
        this.phoneName = phoneName;
        this.phoneSize = phoneSize;
        this.phoneColor = phoneColor;
        this.phonePrice = phonePrice;

    }


    public int getPhoneId() {
        return phoneId;
    }

    public void setPhoneId(int phoneId) {
        this.phoneId = phoneId;
    }

    public String getPhoneName() {
        return phoneName;
    }

    public void setPhoneName(String phoneName) {
        this.phoneName = phoneName;
    }

    public String getPhoneSize() {
        return phoneSize;
    }

    public void setPhoneSize(String phoneSize) {
        this.phoneSize = phoneSize;
    }

    public String getPhoneColor() {
        return phoneColor;
    }

    public void setPhoneColor(String phoneColor) {
        this.phoneColor = phoneColor;
    }

    public float getPhonePrice() {
        return phonePrice;
    }

    public void setPhonePrice(float phonePrice) {
        this.phonePrice = phonePrice;
    }
}
